1project('custom target object output', 'c') 2 3comp = find_program('obj_generator.py') 4 5if host_machine.system() == 'windows' 6 outputname = '@BASENAME@.obj' 7else 8 outputname = '@BASENAME@.o' 9endif 10 11cc = meson.get_compiler('c').cmd_array().get(-1) 12 13subdir('objdir') 14subdir('progdir') 15 16test('objgen', e) 17